<?php !defined('DYHB_PATH') && exit; /* DoYouHaoBaby Framework 模板缓存文件 生成时间：2011-06-01 10:49:06  */ ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>DoYouHaoBaby示例：URL伪静态</title>
<link rel='stylesheet' type='text/css' href='__PUBLIC__/css/common.css'>
 </head>
 <body>
 <div class="main">
 <h2>DoYouHaoBaby示例之：URL伪静态</h2>
  <div class="title">可以轻而易举地通过配置来实现URL伪静态</div><br/>
<div class="result">当前URL：<br/>__SELF__ <br/>实际操作 <span style="color:red">__MODULE_NAME__</span>模块 的<span style="color:red">__ACTION_NAME__</span> 操作
	<br>参数:<br/>
	<?php if(isset( $arrGets )) :?>
	<?php $i=1 ;?>
<?php if( is_array( $arrGets ) ) : foreach( $arrGets as $key=>$value): ?>

	<?php echo( $key ); ?>=><?php echo( $value ); ?><br/>
	
<?php $i++ ;?>
<?php endforeach;endif; ?>
	<?php endif; ?>
</div>
<div class="line"></div>
<div class="title">伪静态配置</div>
	正常URL：<a href="__URL__/read/id/5">/index/read/id/5</a><br/>
	伪静态URL：<a href="__URL__/read/id/5.shtml">/index/read/id/5.shtml</a><br/>
	正常URL：<a href="__URL__/read/id/5/city/shanghai">/index/read/id/5/city/shanghai</a><br/>
	伪静态URL：<a href="__URL__/read/id/5/city/shanghai.shtml">/index/read/id/5/city/shanghai.shtml</a>

</div>
<div class="line"></div>
 <div class="title">示例源码</div><br/>
 <div class="li_title">配置文件Config.php</div><br/>
 <div class="code"><?php highlight_file( APP_CONFIG_PATH.'/Config.php') ?></div><br>
 <div class="li_title">控制器IndexControl类</div><br/>
 <div class="code"><?php highlight_file( APP_LIB_PATH.'/Action/IndexController.class.php') ?></div>
</div>
 </body>
</html>
